﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="modifyPwd.aspx.cs" Inherits="Fitment.User.modifyPwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
 <style type="text/css">
        .style1
        {
            width: 168px;
        }
        .style2
        {
            width: 175px;
        }
        .style3
        {
            width: 68px;
        }
        .style4
        {
            width: 168px;
            height: 76px;
        }
        .style5
        {
            width: 68px;
            height: 76px;
        }
        .style6
        {
            width: 175px;
            height: 76px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="InputContentPlaceHolder" runat="server">
<div>
 <h2 align="left">
            当前位置：
            <asp:SiteMapPath ID="SiteMapPath1" runat="server">
            </asp:SiteMapPath>
        </h2>
    <table border="0" cellpadding="1" cellspacing="1" style="height:280px; width:74%">
    <tr>
        <td class="style1"><div align="right">
            请输入旧密码：</div></td>
        <td class="style3"><div align="left">
            
            <asp:TextBox ID="tb_old" runat="server" AutoCompleteType="Disabled"></asp:TextBox>
            </div></td>
      <td class="style2"><div align="left">
           
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
              ControlToValidate="tb_old" ErrorMessage="原密码不能为空"></asp:RequiredFieldValidator>
           
    </div></td>
    </tr>
        <tr>
        <td class="style4"><div align="right">
            请输入新密码：</div></td>
        <td class="style5"><div align="left">
            <asp:TextBox ID="tb_new1" runat="server" TextMode="Password"></asp:TextBox>
    </div></td>
          <td class="style6"><div align="left">
           
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                  ControlToValidate="tb_new1" ErrorMessage="新密码不能为空"></asp:RequiredFieldValidator>
              <br />
           
              <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                  ControlToValidate="tb_new1" ErrorMessage="请输入6到12位由数字字母组成的密码" 
                  ValidationExpression="^[0-9a-zA-Z]\w{5,11}$"></asp:RegularExpressionValidator>
           
    </div></td>
    </tr>
        <tr>
        <td class="style1"><div align="right">
            请重复新密码：</div></td>
        <td class="style3"><div align="left">
            <asp:TextBox ID="tb_new2" runat="server" TextMode="Password"></asp:TextBox>
    </div></td>
          <td class="style2"><div align="left">
           
              <asp:CompareValidator ID="CompareValidator1" runat="server" 
                  ControlToCompare="tb_new1" ControlToValidate="tb_new2" ErrorMessage="两次密码输入不一致"></asp:CompareValidator>
           
    </div></td>
    </tr>
        <tr>
        <td colspan="2"><div align="center">
            <asp:ImageButton ID="ImageButton1" type="submit" runat="server" 
                ImageUrl="~/images/OK.png" onclick="ImageButton1_Click" />
        </div></td>
              <td class="style2"><div align="left">
           
    </div></td>
    </tr>
    </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RemindContentPlaceHolder" runat="server">
</asp:Content>
